import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import { Message } from 'element-ui'
//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.config.productionTip = false
import { Message } from 'element-ui'
Vue.use(Message)
// 导入封装axios
import axios from "./http/axios";
import VueAxios from "vue-axios";
Vue.use(VueAxios,axios);

// 导入ECharts图表
import * as echarts from 'echarts'
Vue.prototype.echarts = echarts

//导入第三方样式
import 'font-awesome/css/font-awesome.css'
import '@/styles/index.scss' // global css
import '@/icons' // icon
import '@/permission.js' // permission control


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
